package com.etrans.web.gps.business.log.domain;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;


/**
 * 登录日志实体类
 * @author zhangw
 *
 */
public class LoginRecordVO implements Serializable{
	private static final long serialVersionUID = 3617931430808763429L;
		
	    /**
		 * 用户ID
		 */
		private Integer userId;  
		
		/**
		 * 登录名
		 */
		private String login_name;
		
		/**
		 * 用户名
		 */
		private String user_name;
		
		/**
		 * 用户角色
		 */
		private String role_name;
		
		/**
		 * 登录时间
		 */
		@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
		private Date loginTime;
		
		/**
		 * 登录IP
		 */
		private String loginIP;
		
		/**
		 * 登录地点
		 */
		private String loginAddress;
		
		/**
		 * 车辆管辖区域
		 */
		private String area_name;
		
		/**
		 * 是否登录成功
		 */
		private int isSuccess;

		
		public LoginRecordVO() {
		}

		/**
		 * setter和getter
		 * 
		 */
		public Integer getUserId() {
			return userId;
		}

		public void setUserId(Integer userId) {
			this.userId = userId;
		}

		public String getLogin_name() {
			return login_name;
		}

		public void setLogin_name(String login_name) {
			this.login_name = login_name;
		}

		public String getUser_name() {
			return user_name;
		}

		public void setUser_name(String user_name) {
			this.user_name = user_name;
		}

		public String getRole_name() {
			return role_name;
		}

		public void setRole_name(String role_name) {
			this.role_name = role_name;
		}

		public Date getLoginTime() {
			return loginTime;
		}

		public void setLoginTime(Date loginTime) {
			this.loginTime = loginTime;
		}

		public String getLoginIP() {
			return loginIP;
		}

		public void setLoginIP(String loginIP) {
			this.loginIP = loginIP;
		}

		public String getLoginAddress() {
			return loginAddress;
		}

		public void setLoginAddress(String loginAddress) {
			this.loginAddress = loginAddress;
		}

		public String getArea_name() {
			return area_name;
		}

		public void setArea_name(String area_name) {
			this.area_name = area_name;
		}

		public int getIsSuccess() {
			return isSuccess;
		}

		public void setIsSuccess(int isSuccess) {
			this.isSuccess = isSuccess;
		}

		public static long getSerialversionuid() {
			return serialVersionUID;
		}
		
		


		
		


}
